package com.navinfo.platform.trip.common.arithmetic.router;

import com.navinfo.platform.trip.common.arithmetic.enums.ArithmeticStatus;

import java.util.HashMap;
import java.util.Map;

/**
 * 调用轨迹.
 *
 * @author 水哥
 */
public class InvokeRoute {

    /**
     * 路由执行状态map，key是算法名，value是算法执行状态.
     */
    private Map<String, ArithmeticStatus> callRouteMap = new HashMap<>();

    /**
     * 路由异常map，key是算法名，value异常信息.
     */
    private Map<String, InvokeExceptionBody> callRouteExceptionMap = new HashMap<>();

    public Map<String, ArithmeticStatus> getCallRouteMap() {
        return callRouteMap;
    }

    public Map<String, InvokeExceptionBody> getCallRouteExceptionMap() {
        return callRouteExceptionMap;
    }

}


